/**
 * @author ShenTuZhiGang
 * @version 1.0.0
 * @email 1600337300@qq.com
 * @date 2021-09-26 20:50
 */
public class ExamTencent2021092604 {
    /**
     * 代码中的类名、方法名、参数名已经指定，请勿修改，直接返回方法规定的值即可
     *
     * @param root TreeNode类 指向量子树的根
     * @param b    int整型二维数组 表示每次交换的两个子树
     * @return TreeNode类
     */
    public TreeNode solve(TreeNode root, int[][] b) {
        // write code here
    }
}


class TreeNode {
    int val = 0;
    TreeNode left = null;
    TreeNode right = null;

    public TreeNode(int val) {
        this.val = val;
    }
}
